/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

/* 导航栏样式（与原始样式完全一致） */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 10px 20px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #ff6666;
}

.nav {
    display: flex;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: #333;
    margin: 0 10px;
}

.nav .welcome {
    color: #999;
    margin: 0 10px;
}

.nav .logout {
    color: #ff6666;
    cursor: pointer;
    margin: 0 10px;
}

/* 页脚共用样式 */
footer {
    text-align: center;
    padding: 10px;
    background-color: #333;
    color: #999;
    margin-top: 40px;
}

/* 主容器共用样式 */
main {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 4px;
}